
const mongoose = require('mongoose')

const Scheme = mongoose.Schema

const employmentType = {
    "company": String,
    "studentname": String,
    "employ_date": String,
    "salary": Number,
}

const employmentModel = mongoose.model('employment', new Scheme(employmentType, { versionKey: false }))

module.exports = employmentModel